<!--
  @description: 参考Form
  @creator: yiming
  @date: 2021/03/22
-->
<template>
  <div class="i-form"></div>
</template>

<script>
export default {
  name: "IviewForm",
  components: {},
  props: {
    rules: {
      type: Object,
    },
  },
  data() {
    return {};
  },
  methods: {
    // 对整个表单进行校验
    validate() {
      this.$children;
    },
    // 对整个表单进行重置，将所有字段值重置为空并移除校验结果
    resetFields() {},
    // 清除校验结果
    clearResult() {},
  },
};
</script>

<style lang="less" scoped></style>
